package com.erp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("bus")
public class BusController {


    @RequestMapping("toCustomerManager")
    public String toCustomerManager() {


        return "business/customer/customerManager";
    }

    @RequestMapping("toProviderManager")
    public String toProviderManager() {
        return "business/provider/providerManager";
    }

    @RequestMapping("toGoodsManager")
    public String toGoodsManager() {
        return "business/goods/goodsManager";
    }

    //http://localhost:8080/bus/toInportManager
    @RequestMapping("toInportManager")
    public String toInportManager() {
        return "business/inport/inportManager";
    }

    //http://localhost:8080/bus/toOutportManager
    @RequestMapping("toOutportManager")
    public String toOutportManager() {
        return "business/outport/OutportManager";
    }
}
